import request from "../utils/axios.js";

export default {
    getDiagnosis(params){
        return request.get('/api/report/getDiagnosis',params);
    },
    updateDiagnosis(params){
        return request.post('/api/report/updateDiagnosis',params);
    },
    updateState(params){
        return request.put('/api/report/updateState',params)
    },
    generateSign(params) {
        // 调用获取OSS上传签名的接口
        return request.get('/api/dataSet/generateSign', { params });
    },
    createReport(params) {
        // 调用创建健康报告的接口
        return request.get('/api/dataSet/createReportByDoctor', { params });
    },
    finishUpload(params) {
        // 调用完成上传后的接口
        return request.get('/api/dataSet/finishUpload', { params });
    },
}
